<template>
  <div class="about_page">
    <!-- 导航 开始 -->
    <nav-bar title="关于哩哩"></nav-bar>
    <!-- 导航 end -->

    <img src="@/assets/images/my/about_01.png" alt="" />
    <img src="@/assets/images/my/about_02.png" alt="" />
    <img src="@/assets/images/my/about_03.png" alt="" />
    <nuxt-link to="/my/join">
      <img src="@/assets/images/my/about_04.png" alt="" />
    </nuxt-link>
  </div>
</template>
<script>
import { PLATFORM_TYPE, GET_SEO_SETTING_INFO } from "@/http/interface";
export default {
  data() {
    return {
      seoInfo: {},
    };
  },
  head() {
    return {
      title: this.seoInfo.title,
      meta: [
        {
          hid: "description",
          name: "description",
          content: this.seoInfo.description,
        },
        {
          hid: "Keywords",
          name: "Keywords",
          content: this.seoInfo.keywords,
        },
      ],
      link:[
        {ref:'canonical',href:`${this.$domain}/my/about`}
      ]
    };
  },
  async asyncData({ $axios }) {
    // 获取seo配置
    let seo = await $axios.get(GET_SEO_SETTING_INFO, {
      params: { type: 12, platform: PLATFORM_TYPE },
    });
    let seoInfo = seo.data || {};
    return { seoInfo };
  },
  methods: {
    // 机构入住
    goApply() {
      console.log(6)
      this.$router.push({
        path: '/my/join'
      })
    }

  }
};
</script>
<style lang="less" scoped>
@import "/assets/styles/my/about.less";
</style>